#pragma once

#include "ScriptCompiler/AST/ASTNode.h"

class CParameterNode;

class CPropertyIndexerNode : public CASTNode
{
public:
    CPropertyIndexerNode(std::weak_ptr<CScriptFileContext> InFile)
    : CASTNode(InFile,EASTNodeType::PropertyIndexer)
    {
    }

    std::shared_ptr<CScriptToken> LeftBracket;

    TVector<std::shared_ptr<CParameterNode>> Parameters;

    std::shared_ptr<CScriptToken> RightBracket;


    virtual void DebugPrint(int32_t InDepth) override;

    virtual std::shared_ptr<CScriptToken> GetFirstToken() override;



};